Correctly detect Amazon Linux
Merge pull request #3205 from techhat/issue3121

Correctly detect Amazon Linux