libwinpr-thread: fix link libraries