Added '#define WIN32_LEAN_AND_MEAN' to fix linking issues when using windows.h
and winsock2.h together.

Also added a macro to DTFComponent to use Windows version of snprintf.