add support for building with Android class library