Updated for Xcode5

Building app for iOS 7.1