cmake tweaks to find external libuv and NaCl