adjust build environment.