fixed compile error when opencl is not installed