Fix code for Xcode6.1-GM.
Merge pull request #2 from inamiy/Xcode6.1-GM

Fix code for Xcode6.1-GM.