Fixed warnings from Xcode 4.6