fix build on CentOS 5