build: basic: refine toolchain setting
build: basic: clean up variables and environments