Merge "Statically link libwinpthread into windows binaries."