Modify for Amazon Linux.