configure.ac: Use AC_SUBST for setting --target-glib