Fixing warnings in the MSVC build. No functional changes intended.