configure: Include pthread-win32 libraries for Windows build.