Fix MSVC build error