detect ycm_core and enable automatically