move libidn before curl