fixed C4505
Merge pull request #2551 from ilya-lavrenov:ocl_nonfree