Fix build failure for XCode 6.1