add mac ctags setting and c++11 support