Fix FreeBSD patches