MB-8240:  merge dylib fix from 2.0.2

Change-Id: Id31cfa8533312fed2fa2aced3156c737df73dbca
Reviewed-on: http://review.couchbase.org/26420
Reviewed-by: Traun Leyden <tleyden@couchbase.com>
Tested-by: Traun Leyden <tleyden@couchbase.com>