slim: fix build with newer freetype.