Ignore generated files.
Fix warning.
Set GFORTRAN before CMakeAddFortranSubdirectory.