add m8 dependencies