Merge pull request #6 from szilardhuber/master

Getting stucked with google tests and makefile. Does not compile.
build fixes
fix linux build
ignore autoconf generated stuff
Merge pull request #7 from dbeck/master

restructure Makefiles and fix Linux and Mac builds
Adding expect to test.