updating CudaPath to work on ubuntu