MB-100: Fix warnings in compilation

Change-Id: Ie44ac4f50ed357a915e6455a2a04a63c9f8bd04a
Reviewed-on: http://review.couchbase.org/25990
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>