FIXED: updated llvm ir output to use external_entry_point nodes instead of global nodes.