Remove FreeBSD only code