Fix MSVC warnings.