Usually, installing the latest CUDA toolkit enables support for the newer compiler.