Made it compile in FreeBSD.