build: target: improve UX of CONFIG_TARGET handling