Fix CentOS 5 build