Abstract platform.dist() / linux_distribution()

- Abstract this function to allow us to safely call
platform.linux_distribution() on distributions that support it or
platform.dist() on older Python versions
- Allows for shorter/cleaner comparisons