Fix bug with performance on windows, I suspect that it could be a reson ...

...for slow work on other OS, ocl optimization was disabled (default it enabled) when build a opencl programm.