build: fix previous commit to fully accomodate the glib-gen.mak changes