Fix Windows compile