couchdb port and location made configurable from command line, builds fine