bugfix ios compile on iOS 5.1 SDK
Merge pull request #2305 from openframeworks/bugfix-ios5

bugfix ios compile on iOS 5.1 SDK closes #2301