autotools: Allow to use clang++ to compile chat