Make NVCC as macros and use $(CXX) to build on OSX