fix FreeBSD; close #67