use --with-internal-glib for pkg-config compilation to avoid circular dependency with glib