added Xcode 5 compatibility flags