Add autogen.sh script.
Use strict C++11 conformance mode for the compiler.