adding an explicit flag to link to libstdc++. this seems totally gratuitous, I know, but for some reason is necessary on a cluster I have that just updated its gcc.