build system: Improve build system
toolbox: Improve string encoding