Correct compile error when using MSVC