Use pkg-config for json-c.
Add C++ to the continuous build.