add pthread link on windows

Signed-off-by: xiehuc <xiehuc@gmail.com>