various fixes for couchbase installation