Fix compile error on with MSVC.