hidapi, libusb: provide a wcsdup implementation if it is not available. similar to mac and android versions..