Fixed a build error in Xcode 6.1 Beta 1. Change is comparable with Xcode 6 GM.