fixing return pointer type
check error code from libusb_init