fixed kernel compilation
Merge pull request #1841 from ilya-lavrenov:ocl_kernel_compilation