Fix MSVC compat