fix makefile for FreeBSD