Better compatibility for OS X.

    - Fix for Homebrew pygtk.
    - Use gettext instead of locale to avoid C library binary.