fix piratepack refresh and autoconf