Add V8 to cbdeps for macosx and sunos

Change-Id: Idf0c07e7d8111707a072fb3a24b0e14491ca3b53
Reviewed-on: http://review.couchbase.org/44278
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>