cleaned up cpp config