Rebuilds packages