patch-some-windows-compatability

===CODE REVIEW===
 - [ ] @park9140