add windows support
windows fixes