Simplify the build script for android platform