Allow building on FreeBSD 9