Include gettext.h instead of <libintl.h> with #ifdefs.