Fix import.h and examples/makefile for FreeBSD