ANDROID: Modernize build system

Written originally by @Botje for ResidualVM