changed Makefile to compile correctly