Fix code for Xcode6.1-GM.