configure: rewrote detection for 'xgettext'