Fix json-c check to work on debian (libjson0) too