Fix macro warning on HAVE_PT_CHOWN
Remove last use of USE___THREAD