Eliminate nonportable endian.h functions
Include LIBUSB_CALL attribute with all mentions of function