Fix gettext to work across 10.6 to 10.8.