Fix build without libidn