fix build on win