MB-9504 Fixed invalid C89 code

Change-Id: Ia4f3b54b5e7cc89aaa65a3c234ba8bf8055c0d07
Reviewed-on: http://review.couchbase.org/30229
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
MB-9504 Transition to CMake

Change-Id: Ia99b910a5ae9b90e559f395b736288937a81e01f
Reviewed-on: http://review.couchbase.org/30228
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>