Sorry, you have to uninstall avast! and install it again on the new system. It’s not possible just to upgrade the underlying operating system - avast! uses (partly) different files for each OS.