fix for AmazonLinux