Update cgminer.c

Including winsock2.h before windows.h to make sure its added and remove problems compiling on windows[possibly]