build-sys: don't compile deprecated last(1) on --enable-all-programs

Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
buil-sys: disable in UL_BUILD_INIT() on --disable-all-programs

Signed-off-by: Karel Zak <kzak@redhat.com>