update CMakeLists.txt for clang
introduce new macros for trace
mv debug.h debug_print.h
mv debug.h debug_print.h
fix a cpplint error