fix couchbase init script install and make links for libs