Minor cmake cleanup

Change-Id: Ib0a27a4c587fe226d4c4eca0471d3933da6b2e52
Reviewed-on: http://review.couchbase.org/35671
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>