FreeBSD compile errors - add comments