adding apr pool allocator