fix MSVC compiler error.