Linux compatibility modifications