mk: Allow using a locally compiled libuv.a

Closes #5563