add checks to verify correct configuration of jemalloc