Clean up build and requirements.

Trying to get build working on on CentOS 5.7.