Fix boost detection on CentOS 5.x (again).