Set up build environment