get rid of libstdc++ dependency