It installs it because the program was built/compiled around that version, not sure why it doesn't look for an already installed newer version but then no program that I know of looks for newer versions either.
Preferably I'd like to see avast use at least the 2010 versions or later as there a lot more stable, several programs I use have progressed to the later version mentioned and are much more trouble free.