restore_self in minimal_platform.install