fix Windows support