update makefile for standalone build