add support for C++ stdlib heap operations