This updates the build to use the common gcc build infrastructure. Additionally the package is renamed from gcc404 to gcc40 to match tgcwarev2.