Fix command line app build