build: fix build break with non-ascii characters