Make it compile on FreeBSD 10