Use autogen.sh
Fix building
Merge pull request #1 from dalcde/autogen

Use autogen.sh