Disable cuda and opencl in patch as well.