Merge pull request #156 from natural-law/develop

Optimize the logic of select API level for android platform.
Add argument "-o, --output-dir" for compile to specify the output directory.