Add command line option support for Android