Merge pull request #267 from Alexpux/mingw-w64-builds

Convert architectures from x32/x64 to i686/x86_64.
Fix previous commit. Optimize scripts.