Added patch for building on el5.