fix generator gettext for windows