Add finalize_object as required by MCJIT