Renamed g_thread_create to g_thread_create_full and added macro