travis: Use a pre-installed jemalloc
mk: Allow using a locally compiled libuv.a

Closes #5563