changes for iOS 5 compile
Merge pull request #7 from openframeworks/bugfix-ios-orientation

changes for iOS 5 compile