fix command line interface and add Linux makefile