shutils/tmpl_funcs.sh: make sure that set_build_options can overwrite pkg vars.