Fix compatibility with GnuPG 2.0