Fix Fortran compiler detection
(grafted from 083803da94225abe74806ea6681396a1e58610c7)

--HG--
branch : 3.2
extra : source : 083803da94225abe74806ea6681396a1e58610c7