fixed linux makefile generation