fix compilation error on Amazon AMI