updated Makefile.am and added autotools test output to .gitignore
Added  -Wl,--no-as-needed and migrated g++ require from std=gnu++11 to std=C++11