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

Optimizing scripts.
Fix dynamic URLs for mingw-w64 runtime
Fix runtime post script.