RUBY-713 Use createIndexes command when available