Finish API, resolve Windows version define