glib2: Fix substituting variables.