autotools: support running the Android tests from 'make check'