CentOS 7 compat

WIP