Fix command line build