Fix libwinpthread-1.dll dependency