Can't do it that way, it will break building with GCC. It has to be done in jhbuildrc-gtk-osx around line 384, where -fheinous-gnu-extensions is added for libgcrypt.