Fixed iOS compilation
Added ide exclusion for mdtool
Better gradle integration