Link against blas gfortran lapack when building as shared lib