Support xcode5

The project cannot compiled on Xcode 5