Fix Makefile for smooth build