fix Makefile for sample build