fix build error in windows