Fixed compilation error on Xcode 4.6