gettext: updated to 0.18.2

Also, removed all hacks as they are not needed anymore.
glib: resolved regression regarding linking against C++ code (GNOME BZ #690902)