Fix build if you don't build all the targets.
Search for yaml-cpp
Fix one file build with clang pre-3.4
Compile fixes for trunk llvm/clang