added support for amazon linux