Add MSVC compatibility