fixing problems for compilation with BLAS, part 542343576898108