Summary: fix, use our compiler flag check macros to check for pthread{,s}