Fixed windows compiling