mingw(not ok on windows) -> posix