Don't use CUDA related CMAKE variables unless CUDA is actually available

(fixes compiling with OpenMP only and with fakecuda)