Added suport for MINGW to setup script
Merge pull request #5954 from joshdevries/setup-MINGW

Added suport for MINGW to setup script