fixing centos build after refactoring and additions