Detect gfortran ourselves as enable_language(Fortran OPTIONAL) doesn't work with MSVC.