Fixed compilation for CUDA 5.0