Refactor arches into arguments

I've refactored the hardcoded arches into script arguments, to make it easier to build for alternate architectures.