Fix failed building on latest version of cli