SERVER-10026 SERVER-10376 Fix Windows warning -- class vs struct