Fix BSD makefile