Fixed CUDA language detection