Fixes running on macOS
This script supersedes androidbuild.sh, and also supports using a SDL3 prefab archive