cleans packages used during build