use NDK_CUSTOM_SHELL and NDK_CUSTOM_INSTALL instead of /bin/sh or install if set