[PBXNativeTarget] Improve  to avoid duplicates.