Fix for MSVC warnings.