Fix syntax warnings from Xcode 5.1