Add autoconfiguration for libjansson