Added option to use jemalloc memory allocator.