Nothing smells inherently bad or good, those are just interpretations of our brain. Shit might and probably does smell entirely different to them. Humans evolved to be disgusted by shit for survival purposes, perhaps dogs aren't so vulnerable to the bacteria and had no need for that. Or maybe dog poo does taste awesome.