Update to support Amazon Linux AMI detection.