Fix again compatibility issue with FreeBSD (Shawn Chu)