lint & compiler errors on FreeBSD.