Fix compilation issues on Rogue