Linux compatibility changes.