fix S_ISDIR and LIBICONV