Win/Linux compatibility.