fix the Makefile to build th