fix build error under windows