Fix two bugs causing missing backtraces on recent LLVM 3.5