replace stl allocator without modify source code