Reminder to self: Rather than hacking around broken code, Cygwin has some libgcrypt patches already.
Not ready for gx86 yet: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c7fa89767418283aaaadc67cf978bd595d0a4428