Remove a target that is not used.