emulators/gxemul: fix build on SmartOS

fix build on SmartOS