refactor compile plugin, only android platform implemented.
Merge pull request #31 from lihex/develop

refactor compile plugin