Disable unused function, broke build on FreeBSD