Fixed a simple build error on FreeBSD