BLAS setup for Theano and more dependencies