Fixed CUDA compilation issue on Linux