Fix compatibility for Xcode 6 GM.