clean up the build process