Fix Windows regression