Solved some build errors in kernel/fork.c