gen_builddir: no unique dir if cleanoldbuild is set