Fix building with json-c lib name (Issue #15).

I think this should fix configure (after regen) and make for the json-c lib name. In debian/ubuntu there is a transitional package - libjson0-dev - that supplies package config using the 'json' name, but not everybody would know to install that and other distros may not have an equivalent (e.g. issue #15).