avoid first run undefined variable problem in android setup script