o Make thread initialization work with older versions of glib.
  Fixes #46