Added Windows compatibility.