Updates for linux compatibility.