Upgrade to ASM5

Also use asm-debug-all instead of asm-all as the latter is broken in ASM5.