properly handle the XCode (no Fortran anywhere) case