[WIP] Support windows 

See #33 

* Don't use `posix_***` functions when it runs on Windows platform.