Apply patch to compile gettext on osx.