buildtools: Always reset the build environment