build: correct gettext configure-time support