Fix Xcode 5 compatibility