These exploits work perfectly well on those platforms. The reason you hear about people targeting them less is that they are easier to target with less sophisticated attacks and also not as valuable to attackers. In the cases they are your Android "root" exploit becomes a Linux LPE super fast.
I think the difference is desktop systems are way more transparent about what's going on in the OS compared mobile OS's which behave closer to a blackbox.