fix up this to work on el7 host