fix jemalloc on cross-compiled builds