Add support for defining URLs for different platforms and arches

Fixes #12.