libstdc++ tr1_impl workaround