Fixes to get this working on CloudLinux AMI