Fixed CLI build failure