add HASSETSID on #ifdef _POSIX_VERSION