Fixed linux compatibility.