modified makefile to make it more correct