Fixed compilation on FreeBSD.

[SVN r86560]