gcc only without -lstdc++ throws  undefined reference to `__gxx_personality_v0'