Better configury for detecting jemalloc/tcmalloc_minimal.