Fix vim modeline for these files
Detect and use -fcolor-diagnostics if available (clang)
Use common variables for these targets