set up build environment