MB-11461: Toy build with the couchdb changes reverted

Change-Id: Ib9cdd90b365155ef5e376e23281c0eb5bfe5ae6c
Reviewed-on: http://review.couchbase.org/38408
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>