fix build on centos5