fix jq_test so that it runs in the distcheck phase of autoconf