Add appropiate ifdefs for Linux

unistd.h is required for sleep
string.h is required for memcpy

Only Windows appears to have sleep with a capital S, all other (unix based) operation systems appear to use the lower case name.