added support for newer usb library