update build.sh and start android build script

This updates the script for building linux binaries of the Rig editor.

This also adds an initial script for building a set of
PREBUILT_SHARED_LIBRARY modules for Android that can be used for
running Rig on an android device.
frontend: check RIG_SIMULATOR env var for non-debug builds too
update osx build script