Tentative fix for issue #89.

Try to be more generic in the configure script when checking for funky gfortran compiler names.
Merge pull request #90 from bluescarni/fix_compiler_id_gentoo

Tentative fix for issue #89.