Update to compile for ios 7 without warnings
Merge pull request #7 from jghazarian/iosupdate

Update to compile for ios 7 without warnings thanks to @jghazarian