Support amazon linux platform