fix makefile for definitely static builds