Fixed issues with BLAS backends