Build: work with couchDB 1.0