Fixed Windows compile errors

couldn't compile under windows, but now with these lines everything compiles fine