Cleaned up the code checking the gfortran version