fix linking with libstdc++

Required for rhel6