fix opencl kernel build on macosx
Merge pull request #417 from ogoid/kernel-build-fix

fix opencl kernel build on macosx