Packet: Fix Windows bug