lto: Add finalizer to fix issue that happens in libgccjit
3 files changed