More attempts at linux compatibility