Don't depend on pthread for Windows version
Fixed WSADATA error
Removed d3dx9.h include