Do some more gcc/g++ stuff for Debian/Ubuntu
Also add some more comments in configure