SERVER-12189 Enable libstdc++ debugging features for debug builds when possible