Replace references to initFn with references to block
Ensure that there is a temporary directory in for LLVM