[Podfile] Fix incorrect setup of root target definition.
[TargetDefinition] Store platform names as strings
[Podfile] Small refactor