Build fixes for iOS 6
Conditional compiling of iOS 7 only features
Merge pull request #28 from Snupps/master

Conditional compiling of iOS 7 only features by Andrea Bizzotto