Get build-jar-repository working on RHEL 7 too.