Fix msvc build error