fix msvc build error