modify enablefortran.cmake