Make it can be compiled with Xcode 5