Microsoft har slitt med å få trekk i smarttelefon-peisen sin siden de fikk konkurranse av Apple og Google for åtte år siden.