Add janson and libcheck dependencies

They dont integrate with the build yet, have to be built manually at the
moment.