Add the arch option
Add support for target aliases and extensions