glib causes mock build failure