Change to gthread based lib.