MB-10255: Yet more Couchbase-specific build tweaks