Fixes bug with live packet capture on Windows.