fix build, and gettext