Added extern "C" to BLAS check