Support for iOS 7 with libgcrypt
Fixes #24