Fixed compile issue with iOS < 7.0
Merge pull request #17 from miklselsoe/master

Fixed compile issue with iOS < 7.0