libc11: clean up pthread behavior

Signed-off-by: Steven Noonan <steven@uplinklabs.net>