Fix win32 build

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