Simplify the construct for guarding against empty output string.
For Travis CI - switch CI build to use Android build environment.