compile and working on windows