Support shared pthreads-win32.