Use clang for compilation.  Fix warnings