fixed the bug in which g_thread_init() is missing on the platform whose GLIB version is less 2.32 (#7).