Fix some OpenCL kernel file build errors on Mac.