Enable compiling on Ubuntu 14.04.

In 14.04, the default json-c package is libjson-c2, which uses
/usr/include/json-c/ and libjson-c.so. This patch makes Cmake find json-c
in either the original location or this new one (the change is backward compatible).

NB: this might not merge automatically with my other pull request...