determine platform for download