Fixed unknown type __pid_t, changed it for pid_t
__pid_t is an implementation detail from the GLIBC headers and is not meant to be exposed and used by applications. Instead use pid_t which is actually meant to be used, which also fixes the build on Musl libc (which is more strict than GLIBC)