hooks/script-wrapper: create freetype-config wrapper; simplify code.