eliminated some deprecation warnings when build target is >=8.0
Merge pull request #171 from mixpanel/ios8-warnings

eliminated some deprecation warnings when build target is >=8.0