Get glib, gtk+, harfbuzz and pango working on Darwin

With this patch I'm able to build the `threadscope` utility for Haskell.

Note that Xquartz must be installed on Mavericks, as 10.9 does not ship with X11 anymore.  I built against Xquartz 2.7.5, the latest version.