Allow to detect if we use cublas v2 or not.

This will allow pylearn2 to raise a good error message when it don't have a good theano version.