fix build for windows