Fix build break on win32

Change-Id: Ie73f65afde7b6915e2f8db235daf02e4c800714e
Reviewed-on: http://review.couchbase.org/37374
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>