Fixed crash on iOS prior 7.
Merge pull request #60 from Eugene-Gubin/master

Fixed crash on iOS prior 7.