OCL: fix build on Mac