Changed cmake file to correctly link in winsock. Also changed the includes so that winsock2 is included before openCV since that includes windows.h which creates a redefine problem