fix liking with libstdc++

Required for rhel6