RUBY-798 tweaking mongo_config for different server versions