Fixed build error under Xcode 5.1.1