Get code compiling on windows