Add freebsd support in Makefile