Deal with in-tree couchdb.