Fix build on Xcode4.6