Fix MSVC build