Adds pthread to test build at Sconstruct