Cmake patch

CMake patch continuation as discussed in: https://github.com/akheron/jansson/pull/79