fix syntax error & add 'sudo yum install httpd-devel'

support for Amazon Linux