Fix build on xcode5.