Fixing detection of Debian version
Fixing detection of gfortran in Fedora and OpenSUSE (thanks to Nick Ristow)
Adding detection of Mac OS X 10.10 Yosemite
Some changes to make it work with Yosemite