Uncommented CMAKE_Fortran_COMPILER_ID hack since CMake doesn't set that variable.