fix: stop forcing libstdc++.a into extensions the toolchain already links (#4525)