added automatic env setup for base build tools