Only build gcc for c/c++ and fortran