changes for gfortran usage