patch to make gettext work correctly.