for bug #143, build on centos5.