Remove unused targets.