MB-11842: Fix compile failure on win32

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