Link bucket_engine with math libs

Change-Id: I2b4ff066ed559274acfb69636d8328f528607dc5
Reviewed-on: http://review.couchbase.org/30831
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>