Makefile: link to libjson-c instead of libjson

Linking against libjson-c works cross-platform.