Compatibility fixes for Amazon Linux (Redhat-based).