Fix release script to handle arch