Compatibility with MSVC