Solved the issue that blocked build on systems with glib at level 2.32 or higher