dosbox: fix build on SmartOS

Fix build on SmartOS