adding autogen.sh script
mend
adding extra c++11 and pthread autotools macros
end of the day commit, don't judge