Plugins/HID: fix Windows build