Improve Linux compatibility.