update sheepthreads.c to work with newer PPC Linux distros

Patch by "Kernigh" posted on emaculation.com forums.