Amazon linux fixes