Add jansson library to the build system.