Added required defines per Mark's recommendation
Fixes an issue experienced during npm install

Change-Id: I86c988083e11c9b8fb7501852546e2dcf0410fae
Reviewed-on: http://review.couchbase.org/28401
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>