Mali build fix

Credits to FXP and 95A31