Fix windows compiling