added support for Mac OS X with GNU Fortran compiler