Fix xcode 5.1 warning

Based on https://github.com/samvermette/SVSegmentedControl/pull/71.