tools/autoconf: clean up build recipes