Ugly fix for Xcode 4