Minor fix for iOS detection