This might work if Fortran were portable, or if only one compiler were targeted.