Enable CUDA support on Mac OS X.