build.sh: Make sure %ARCH% is replaced with ${arch}