more visual studio porting
add pthread-win32