fortran detection