fixes of Makefile and usage function