gettext: add support for using the stub headers on the host