backport FindExpat,FindIconv from Player