For libusb-win32, you should probably apply this patch by Romain LiƩvin:
http://svn.tilp.info/cgi-bin/viewcvs.cgi/*checkout*/libticables/trunk/src...
Unfortunately no nice diff file there, just a description of what to change,
and the resulting modified .c file:
http://svn.tilp.info/cgi-bin/viewcvs.cgi/libticables/trunk/src/win32/usb/...
Kevin Kofler