refine the configure, add comments
support use other g++ when configure.