some more fixes building with BLAS