fix fortran compiler resource access for non-watcom platform