Xcode6 GM building error fixed.

make sure everything gonna be all right with Xcode6 GM.