Include cstdlib to get std::free().