Fix sample due to switching to std::shared_ptr for TargetOptions.

Also bump to the latest LLVM rev.