More robust to llvm version differences.