CBQE-1531: fix building tuq from source

Change-Id: I3102310d39dc6060c87dfcebc488d6358c58cfeb
Reviewed-on: http://review.couchbase.org/29603
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>