core: assume iconv usability when cross compiling

AC_TRY_RUN needs a fallback action when cross compiling.