winpthreads: fix LDFLAGS

(cherry picked from commit 5153bda06020256ad631a33bcba2791061e65643)
2 files changed