fix the warning on Linux when OpenCL 1.2 not supported