shutils/tmpl_funcs.sh: make sure that build deps are not propagated to deps.