Fix compile failure on linux

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