Use -Xcompiler for nvcc only.