Modify to improve Fedora couchdb-1.6.0-7+ (still broken)