Fix compile for Amazon Linux AMI