Configure OmniCppPlugin and and some minor modification