changed compiler to clang and changed the tile system abit