deferred shared memory init until after forking