Hi, I just fixed it by running this from Terminal:
sudo /Applications/avast!.app/Contents/MacOS/install.sh
Hope it works for you too.