Fix MAC address reading on Windows.