build pkg-config twice so that second configure can use pkg-config to compute GLIB_CFLAGS and GLIB_LIBS.
Changed paths: