Fix linux compatibility.