g_thread_init() is deprecated since Glib 2.23