fix build under windows