fix support for Windows