Fix Windows compatibility.