Add arch and timeout as arguments to get_links(), to make builds.py more standalone.