Fix MSVC compiler warnings.