Better compatible with old GLIB.