Port libusb to illumos/solaris