Fixed Minor errors

Fixed issue with thread cancellation assuming it was running on a Linux
OS (Calling pthread).
Fixed missing quotation mark when including WinSock2 Lib.