Rename ty/ subdirectory to cli/

Avoid linker errors when building in the root directory because the ty
executable cannot be created.