Use Cmake to check if libuv is installed

Update CmakeLists.txt to fail if `libuv` is not installed