Replace mingw/gnuwin32 packages to msys2

Add perl for autoconf
Add missing host option of x86_64 build