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

Avoids problems of libgfortran not being found.

Refs https://github.com/JuliaLang/julia/pull/4614