Improve detection of libstdc++-6 et al.
* configure.ac: Extract gcc version number and use as default directory of gcc helper DLLs.