MB-12594: Link against forestdb

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