Allow to use glib deprecated API, for g_thread_suppoted()