Add windows host os support to Android makefiles

Build using : USE_MINGW=true make libarchive
Fixup case errors when building for windows using mingw on linux