Make autogen.sh executable.
Reduce number of g++ options when compiling in  debug mode.