Rearrange global build dependencies to build couchbase first