* Dir clean and fix.
* Add autogen makefile.
* Fix.
* Build fix.
Merge pull request #3 from megax/master

Fixed autogen makefile