Fixes build on Xcode4.