Added Amazon Linux compatibility