Fix ios 5 detection regex

Fixes iOS 5 regex for iPhone.