add support for Amazon Linux as an operating system

revised, based on comments from pull request #15