cleans packages used during the build