Merge change 21727 into eclair

* changes:
  Fix missing -lpthread in linux-sim build.