Fix include order warnings when compiling win32

When compiling win32 it warns about including windows.h before
winsock2.h. Since Windows cannot use inotify remove the local includes
for the Windows components and let the later inclusion of shared.h
handle the inclusion of all the necessary Windows libraries.
Merge pull request #338 from awiddersheim/fix_win32_include_warnings

Fix include order warnings when compiling win32