Fix build for OpenCL on CUDA devices