Update platform detection to support pidora distro.