msvc build error fix