(iOS) Cleanup messy hardcoded rules for detecting iOS build path