Preparing the build environment