Do not mix libstdc++ from gcc46-libs (libstdc++.so.6) and NetBSD base (libstdc++.so.7) under netbsd-6. Patch from tnozaki.