Allow target arch & release selection in script build.sh

Change-Id: I309031d0b6066ee76358ffa40b2b497a6d72447b