clang build fix

Direct NSInteger casting is deprecated, use sel_getName() instead.