Fixed Windows compiling