[m] Add fix by bels to compile g3d on FreeBSD, thanks!
Merge pull request #4 from lfxgroove/fix-g3d-freebsd

[m] Add fix by bels to compile g3d on FreeBSD, thanks!