Correct warning about same target names