fix link flags for blas