Fix building with jansson.