add clang code to CMakelists. uncomment constexprs in cprintf.h for linux only
bug fixes