fix compilation when gettext is unavailable