Add clang++ compilation setting and fix some bud implementation..