link reference blas and lapack statically