Add iOS 8 check. fixes #1