cleanup build process