getMemBuffer now returns a std::unique_ptr<MemoryBuffer> for llvm 3.6