Fixing things for Linux.

Linux (at least CentOS 6.4) apparently has a non-portable
libusb.detach_kernel_driver_np() function, but not the
libusb.attach_kernel_driver_np() counterpart. Also needed
to fix the endpoint in _send_pkt().