Switch to llvm compiled library
make all examples compilable by clang