fix MSVC warnings.