MALI: Update to latest modification

(credit to AndreiLux)