FreeBSD compile fix on g3dlite