CBD-1438: Improve build debug output

Change-Id: I161cd04b73edb4ea3a12896a7d6ffa891b755756
Reviewed-on: http://review.couchbase.org/42922
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>