fixes for centos/rhel