Fixed command-line build

Fixed project for command-line successful build:
* Set up Android project for ant build.
* Moved lib dir to libs.