Fixed dependencies so that it builds from the command line.