Fix warnings with iOS 6
Merge pull request #6 from mps/patch-1

Fix warnings with iOS 6