minor bugfix for gfortran.