wget: Fix build with libidn.

Signed-off-by: Rudá Moura <ruda.moura@gmail.com>