Fix some OpenCL performance issues. Add windows support.