Add dependency for build/Makefile for compile

Change-Id: Iab2c8ec53a6d0f97ae84b544626a320748ae756a
Reviewed-on: http://review.couchbase.org/35361
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>