copy from https://www.gnu.org/software/libiconv/, build with visual studio on windows