add many fix for compile arm-toolchain in windows mingw32