hack for fork() support under NetBSD