fixed Makefile script