compiler error fix on FreeBSD 6.2