make ocl module compile on VS2012