Fixed issue with glib while building