Enable building on RHEL and CentOS