Avoiding a few MSVC warnings