UNIX fork implementation