ignored function with undeclared options on old environment like centos5
Merge pull request #213 from hsbt/support-centos5

fixed build error with CentOS 5