Improve cross-linux compatibility.