Fix multicast.c not defining errno on Windows

Small cleanups in includes as well.