clean up build process