Fixed build on OSX.

Added osx OpenCL header loaction. Changed linking to use -framework OpenCL and fixed one ambiguos syntax reported by Xcode.