Fixed Windows compatibility.