Fix command line build for Travis CI