Add pthread support by pbeeler

Change-Id: I6b40021e18abfbd49b2e5c7d741751a50eaab6c2