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

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