Prevent crash on 10.7

Calling `class_getInstanceMethod(class, allowsReverseTransformationSelector)` crashes OS X 10.7. I’m a little confused why it works on 10.8+ (since it’s a class method, correct)? Anyway, this patch doesn’t crash 10.7 and works with 10.8+ as well