Pass the architecture to the configure script

Some software may have architecture-dependent configuration, so the
configuration script needs to know which architecture is to be installed.