Fix more Centos5 compile issues.