- fixed: compile issues on FreeBSD