fixed compilation with CUDA 4.2