Allow for build from source bundle

Change-Id: I04f0ba95194fe1bc2f5233f6ac12f8049508878f
Reviewed-on: http://review.couchbase.org/36217
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>