fixed CUDA search under linux