added logic for mingw on windows
Merge branch 'master' of github.com:kipr/pcompiler