configure: check for pthread_attr_setinheritsched()

Rely on default thread inheritance when not found.
configure: check for endgrent()
platform: work around missing symbol guard

Issue #17