Fix for MSVC