Add support for automatically detecting the platform for a package to be downloaded.