generate ctags when writing C/C++ files