update install.sh for centos
add ifndef snippet for cc-mode
update snippet cache