Take account of recent updates in HPX. Build pthread by default.