mingw
Merge pull request #114 from stopiccot/mingw

Initial mingw support for cmake.