Fix for pre-ios7

This commit fixes iOS 5/6 incompatibility (introduced in b1fc75e) by adding a simple `-respondsToSelector:` check.