Update ptrace.c

fixing build errors.