added more stuff for BLAS support