I think if you just build master, this is already fixed.
There is a flag for zero copy,
–enable-zerocopy Enable usbfs zero-copy support (disabled by default)
which sets the macro ENABLE_ZEROCOPY=1 if set and doesn’t set it if not.
And that line you changed is now
#if defined(ENABLE_ZEROCOPY) && defined (linux) && LIBUSB_API_VERSION >= 0x01000105