added idn2 punycode generation as fallback for missing libicu
added more build checks