Fix cublas linking on mac.
Merge pull request #8 from abergeron/fix_cuda_mac

Fix cublas linking on mac.