[ext] fixed linking libstdc++ in x64