port On Mingw is not that good, But can be accepted now

I hate do debug on win