cmake: Fix cli shared linking against ubox