Fix issues with cuda 6+ on mac and cmake 3.0.

This isn't actally needed since we depend on the generated files anyway.  And the new Cmake treats that as an error, whereas it was ignoring it before.