Fix Xcode 4.5.2 warnings about segmented control