Fix a compile problem on FreeBSD for a missing header.