Fixed cmdline build error