build: fix ICU support build on SmartOS