Fix circular dependency between install-progs and install-libs targets.