changes for EL7
for sphinx build.