Hi,
you don't have to compile dfu-programmer because there is a precompiled and patched binary at the googlecode-project you discovered:
https://unojoy.googlecode.com/hg/ATmega8u2Code/HexFiles/dfu-programmer
I attached it to this post for your convenience.
Regards,
nueh
dfu-programmer.zip (22.2 KB)