Fix to build in EL5