uv-common: fix an error with strcmp()

Forget add `== 0` for doing compare the result of strcmp()