Fix Windows support