Tweaked the CMake files:

- Only use -stdlib=libc++ for linking C++
- Provide a knob for selecting libc++
- Correct the way threads are detected
- Use llvm-config to find the obj and src trees so TESLA can be built
  without installing LLVM / Clang