Fix autotools and complete build with modern tools.

Tested with flex-2.537, bison-2.7.1, autoconf-2.69, automake-1.14.
Don't invent new targets; if you want a complete clean go for 'make distclean'.
Merge pull request #1 from Flameeyes/master

Fix non-recursive build.