Fix compile on cuda < 5.0.
Merge pull request #2009 from abergeron/fix_cublas_init

Fix compile on cuda < 5.0.