small changes for centos build