amule: update and fix build on gcc47