Only update alternatives when running on a Debian based OS.