idn_to_ascii is only used if available
Merge pull request #7884 from owncloud/use-idn_to_ascii-if-available

idn_to_ascii is only used if available