fix compilation
more work on the available_regs pass