Revert "modify to compile with msys/mingw on windows"

This reverts commit 577e4e51e61c6c0607b821d792d14545fbd8765d.

oops

Conflicts:
	CMakeLists.txt