Replace llvm::sys::Path with llvm::SmallString in configfile.cpp.

Also adds some required functions for LLVM 3.4.