fix gettext compile issues under win32