Threads now use glib instead of pthread