Fix compile warnings with win32

The buffer variable in InstallService() was not ever used.

The other warning was about windows.h being included before winsock2.h