Fix migw-w64-runtime-post and tests scripts for GCC static build.
Merge pull request #296 from Alexpux/develop

Fix migw-w64-runtime-post and tests scripts for GCC static build.