The line 188-192 will cause compile error in the OS X. I replace the cl.hpp with the version from http://www.khronos.org/registry/cl/api/1.1/cl.hpp, and it works with Xcode 5 with OpenCL.framework in OS X 10.9 SDK.