Fix compilation on mingw

Signed-off-by: Jens Georg <mail@jensge.org>
WIP: Use pktinfo

https://bugzilla.gnome.org/show_bug.cgi?id=711320

Signed-off-by: Jens Georg <mail@jensge.org>