Minor fixes for centos