configure: check for pthreads building on windows with gcc

Change-Id: I737361fa9911c11017af971a80c2ffad20b01d03
1 file changed