Fix compile failure when X_HAVE_UTF8_STRING is not defined