use g++ detected by autoconf