fixing compilation if opencl is not available