Fix ocl::pyrup kernel build on Mac.
Merge pull request #933 from pengx17:2.4_macfix_cont