build fixes
fix linux build
ignore autoconf generated stuff
Merge pull request #7 from dbeck/master

restructure Makefiles and fix Linux and Mac builds