Add support for Amazon Linux.

Amazon Linux does not require the perl dependencies.