Set up the build environment.