fix OpenCL 1.2 related macros on OS X