restore compatibility for iOS 4 and Mac OS X 10.7

metioned in: https://github.com/soffes/sskeychain/pull/31