initial commit for adding freebsd support