cleanup build environment