Fix cscope generation and ctags compatibility on Windows and Linux.