Use FC instead of CC to link the dynamic library on OS X

Avoids problems of libgfortran not being found.
Merge pull request #311 from loladiro/patch-1

Use FC instead of CC to link the dynamic library on OS X