Avrdude error with Leonardo ISP

In what direction did you have to change the code to make it work?
In 1.0.3, it Should be if (USB_Available(CDC_RX)) or you have an infinite loop. I checked github, the change was comitted. I also just extracted arduino-1.0.3-linux32.tgz again and USBCore.cpp also contains if (USB_Available(CDC_RX)).