Fixes for mali modules build.