[packaging] Fix build with json-c 0.12
Merge pull request #17 from tigeli/master

[packaging] Fix build with json-c 0.12