Updated to work on CentOS 5.9