Like I said, I did a clean install of Windows 10, which means I had to do a clean install of Avast too. I actually tried reinstalling it 3 times, with same thing happening with every try. This just goes to show that there is an incompatibility between the new build and the current version of Avast.