fix bug when build Xcode 5.