Add tweak to replace glibc specific c++ config with generic config;
borrowed from dragora's bootstrap scripts